package com.hdcircles.autoform.dagger.component;

import com.hdcircles.autoform.app.App;
import com.hdcircles.autoform.dagger.ContextLife;
import com.hdcircles.autoform.dagger.module.AppModule;
import com.hdcircles.autoform.model.http.ImageHelper;
import com.hdcircles.autoform.model.http.LocationHelper;
import com.hdcircles.autoform.model.http.RetrofitHelper;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by hdcircles on 2016/9/21.
 */

@Singleton
@Component(modules = AppModule.class)
public interface AppComponent {

    @ContextLife("Application")
    App getContext();//提供App的Context

    RetrofitHelper retrofitHelper();// 提供http的帮助类


    LocationHelper locationHelper();//提供定位帮助类

    ImageHelper imageHelper();//提供上传图片帮助类
}
